package com.brush.brushcommon.common.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.brush.brushcommon.common.BasicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户公告表
 * </p>
 *
 * @author debug
 * @since 2024-07-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_user_anno")
@Schema(name = "UserAnno对象", description = "用户公告表")
public class UserAnno extends BasicEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "公告编号")
    private Long annoId;

    @Schema(description = "用户编号")
    private Long userId;

    @Schema(description = "是否阅读（0：未读，1：已读）")
    private Boolean isRead;

    @Schema(description = "阅读时间")
    private LocalDateTime readTime;

    @Schema(description = "用户类型（0：用户，1：管理员），默认为0")
    private Boolean userType;

    @Schema(description = "创建人")
    private String gmtFounder;
}
